﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;
using NHibernate.Criterion;
using System.Collections;

/// <summary>
/// Summary description for Tour
/// </summary>
namespace LIB
{
    [ActiveRecord("memberLet")]
    public class memberLet_Info : ActiveRecordBase<memberLet_Info>
    {
        private int _id;
        private string _gioiTinh;
        private string _hoTen;
        private int _namSinh;
        private string _email;
        private string _dtdd;
        private string _dtcd;
        private bool _isActive;
        [PrimaryKey(PrimaryKeyType.Native)]
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        [Property]
        public string hoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }
        [Property]
        public string gioiTinh
        {
            get { return _gioiTinh; }
            set { _gioiTinh = value; }
        }
        [Property]
        public int namSinh
        {
            get { return _namSinh; }
            set { _namSinh = value; }
        }
        [Property]
        public string email
        {
            get { return _email; }
            set { _email = value; }
        }
        [Property]
        public string dtdd
        {
            get { return _dtdd; }
            set { _dtdd = value; }
        }
        [Property]
        public string dtcd
        {
            get { return _dtcd; }
            set { _dtcd = value; }
        }
        [Property]
        public bool isActive
        {
            get { return _isActive; }
            set { _isActive = value; }
        }

    }
}
